package com.cg.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cg.dto.OrderManagerDto;
import com.cg.entity.DmOrder;
import com.cg.vo.OrderManagerVo;
import com.cg.vo.QueryOrderVo;

import java.util.List;

/**
 * 订单表(DmOrder)表数据库访问层
 *
 * @author makejava
 * @since 2023-11-13 09:49:23
 */
public interface DmOrderMapper extends BaseMapper<DmOrder> {

    //根据订单状态、订单创建时间、关键词(商品名称，订单号，商品编号模糊)
    List<OrderManagerVo> queryOrderList(OrderManagerDto orderManagerDto);


    //根据订单号查询订单
    QueryOrderVo queryOrderByOrderNo(String orderNo);
}

